package models.domain;

import models.data.Svor;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: bjornth
 * Date: 19.4.2013
 * Time: 13:01
 * To change this template use File | Settings | File Templates.
 */
public class QuestionAndAnswers {
    private int spurningar_id;
    private String texti;
    private String tegund;
    private String vidhengi;
    private List<String> svor;
    private Double vaegi;
    private List<String> eydufyllingar;
    private Integer rettSvar;
    private List<Integer> rettSvor;
    private List<Integer> svorID;
    private String spurningarsvar;
    private List<String> eydufyllingSvor;
    private Integer krossaSvarNemanda;
    private List<Integer> fjolvalSvarNemenda;

    public QuestionAndAnswers(int spurningar_id, String texti, String tegund, String vidhengi, List<String> svor, Double vaegi) {
        this.spurningar_id = spurningar_id;
        this.texti = texti;
        this.tegund = tegund;
        this.vidhengi = vidhengi;
        this.svor = svor;
        this.vaegi = vaegi;
    }
    //Myndaspurning með svari
    public QuestionAndAnswers(int spurningar_id, String texti, String tegund, String vidhengi, Double vaegi, String spurningarsvar) {
        this.spurningar_id = spurningar_id;
        this.texti = texti;
        this.tegund = tegund;
        this.vidhengi = vidhengi;
        this.vaegi = vaegi;
        this.spurningarsvar = spurningarsvar;
    }
    //Myndaspurning
    public QuestionAndAnswers(int spurningar_id, String texti, String tegund, String vidhengi, Double vaegi) {
        this.spurningar_id = spurningar_id;
        this.texti = texti;
        this.tegund = tegund;
        this.vidhengi = vidhengi;
        this.vaegi = vaegi;
    }
    //Krossaspurning
    public QuestionAndAnswers(int spurningar_id, String texti, String tegund, List<String> svor, Double vaegi, List<Integer> svorID, Integer rettSvar) {
        this.spurningar_id = spurningar_id;
        this.texti = texti;
        this.tegund = tegund;
        this.svor = svor;
        this.vaegi = vaegi;
        this.svorID = svorID;
        this.rettSvar = rettSvar;
    }
    //Krossaspurning með svari
    public QuestionAndAnswers(int spurningar_id, String texti, String tegund, List<String> svor, Double vaegi, List<Integer> svorID, Integer rettSvar, Integer krossaSvarNemanda) {
        this.spurningar_id = spurningar_id;
        this.texti = texti;
        this.tegund = tegund;
        this.svor = svor;
        this.vaegi = vaegi;
        this.svorID = svorID;
        this.rettSvar = rettSvar;
        this.krossaSvarNemanda = krossaSvarNemanda;
    }
    //Fjölvalsspurning
    public QuestionAndAnswers(int spurningar_id, String texti, String tegund, List<String> svor, Double vaegi, List<Integer> svorID, List<Integer> rettSvor) {
        this.spurningar_id = spurningar_id;
        this.texti = texti;
        this.tegund = tegund;
        this.svor = svor;
        this.vaegi = vaegi;
        this.svorID = svorID;
        this.rettSvor = rettSvor;
    }
    //Fjolvalsspurning með svari
    public QuestionAndAnswers(int spurningar_id, String texti, String tegund, List<String> svor, Double vaegi, List<Integer> svorID, List<Integer> rettSvor, List<Integer> fjolvalSvarNemenda) {
        this.spurningar_id = spurningar_id;
        this.texti = texti;
        this.tegund = tegund;
        this.svor = svor;
        this.vaegi = vaegi;
        this.svorID = svorID;
        this.rettSvor = rettSvor;
        this.fjolvalSvarNemenda = fjolvalSvarNemenda;
    }
   //Textaspurning
    public QuestionAndAnswers(int spurningar_id, String texti, String tegund, Double vaegi) {
        this.spurningar_id = spurningar_id;
        this.texti = texti;
        this.tegund = tegund;
        this.vaegi = vaegi;
    }
    //Textaspurning m svorum
    public QuestionAndAnswers(int spurningar_id, String texti, String tegund, Double vaegi, String spurningarsvar) {
        this.spurningar_id = spurningar_id;
        this.texti = texti;
        this.tegund = tegund;
        this.vaegi = vaegi;
        this.spurningarsvar = spurningarsvar;
    }
    //Eydyfyllingaspurning
    public QuestionAndAnswers(int spurningar_id, String texti, List<String> eydufyllingar, String tegund, Double vaegi) {
        this.spurningar_id = spurningar_id;
        this.texti = texti;
        this.eydufyllingar = eydufyllingar;
        this.tegund = tegund;
        this.vaegi = vaegi;
    }
    //Eydufyllingarspurning með svari
    public QuestionAndAnswers(int spurningar_id, String texti, List<String> eydufyllingar, String tegund, Double vaegi, List<String> eydufyllingSvor) {
        this.spurningar_id = spurningar_id;
        this.texti = texti;
        this.eydufyllingar = eydufyllingar;
        this.tegund = tegund;
        this.vaegi = vaegi;
        this.eydufyllingSvor = eydufyllingSvor;
    }


    public int getSpurningar_id() {
        return spurningar_id;
    }

    public void setSpurningar_id(int spurningar_id) {
        this.spurningar_id = spurningar_id;
    }

    public String getTexti() {
        return texti;
    }

    public void setTexti(String texti) {
        this.texti = texti;
    }

    public String getTegund() {
        return tegund;
    }

    public void setTegund(String tegund) {
        this.tegund = tegund;
    }

    public String getVidhengi() {
        return vidhengi;
    }

    public void setVidhengi(String vidhengi) {
        this.vidhengi = vidhengi;
    }

    public List<String> getSvor() {
        return svor;
    }

    public void setSvor(List<String> svor) {
        this.svor = svor;
    }

    public Double getVaegi() {
        return vaegi;
    }

    public void setVaegi(Double vaegi) {
        this.vaegi = vaegi;
    }

    public List<String> getEydufyllingar() {
        return eydufyllingar;
    }

    public void setEydufyllingar(List<String> eydufyllingar) {
        this.eydufyllingar = eydufyllingar;
    }

    public Integer getRettSvar() {
        return rettSvar;
    }

    public void setRettSvar(Integer rettSvar) {
        this.rettSvar = rettSvar;
    }

    public List<Integer> getRettSvor() {
        return rettSvor;
    }

    public void setRettSvor(List<Integer> rettSvor) {
        this.rettSvor = rettSvor;
    }

    public List<Integer> getSvorID() {
        return svorID;
    }

    public void setSvorID(List<Integer> svorID) {
        this.svorID = svorID;
    }

    public String getSpurningarsvar() {
        return spurningarsvar;
    }

    public void setSpurningarsvar(String spurningarsvar) {
        this.spurningarsvar = spurningarsvar;
    }

    public List<String> getEydufyllingSvor() {
        return eydufyllingSvor;
    }

    public void setEydufyllingSvor(List<String> eydufyllingSvor) {
        this.eydufyllingSvor = eydufyllingSvor;
    }

    public Integer getKrossaSvarNemanda() {
        return krossaSvarNemanda;
    }

    public void setKrossaSvarNemanda(Integer krossaSvarNemanda) {
        this.krossaSvarNemanda = krossaSvarNemanda;
    }

    public List<Integer> getFjolvalSvarNemenda() {
        return fjolvalSvarNemenda;
    }

    public void setFjolvalSvarNemenda(List<Integer> fjolvalSvarNemenda) {
        this.fjolvalSvarNemenda = fjolvalSvarNemenda;
    }
}
